package org.jeecgframework.web.service;
import org.jeecgframework.core.common.model.json.AjaxJson;
import org.jeecgframework.web.system.pojo.base.CbsLightReportEntity;
import org.jeecgframework.core.common.service.CommonService;

import javax.servlet.http.HttpServletRequest;
import java.io.Serializable;
import java.util.Map;

public interface CbsLightReportServiceI extends CommonService{
	
 	public <T> void delete(T entity);
 	
 	public <T> Serializable save(T entity);
 	
 	public <T> void saveOrUpdate(T entity);
 	
 	/**
	 * 默认按钮-sql增强-新增操作
	 * @param id
	 * @return
	 */
 	public boolean doAddSql(CbsLightReportEntity t);
 	/**
	 * 默认按钮-sql增强-更新操作
	 * @param id
	 * @return
	 */
 	public boolean doUpdateSql(CbsLightReportEntity t);
 	/**
	 * 默认按钮-sql增强-删除操作
	 * @param id
	 * @return
	 */
 	public boolean doDelSql(CbsLightReportEntity t);

 	public Map<String, Object> photoFileUploadView(HttpServletRequest request,String serviceId, String businessType, String photoName);

	/**
	 * 光管翻新验收单暂存
	 * @param request
	 * @return
	 */
	public AjaxJson ZCLightReport(HttpServletRequest request);
	/**
	 * 光管翻新验收单提交
	 * @param request
	 * @return
	 */
 	public AjaxJson subLightReport(HttpServletRequest request);

}
